package com.singleton.gsj20150511;
//静态内部类
public class StaticSingleton {
	private StaticSingleton(){}
	
	public static final StaticSingleton getInstance(){
		return StaticSingletonHolder.INSTANCE;
	}
	
	private static class StaticSingletonHolder{
		private static final StaticSingleton INSTANCE = new StaticSingleton(); 
	}
}
